home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20000824-20010305 / 000339_news@columbia.edu _Thu Feb 22 10:46:27 2001.msg < prev    next >
Internet Message Format  |  2001-03-05  |  5KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA22575
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 10:46:26 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07017
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 10:46:26 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24774
  10.     for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 10:21:05 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: jaltman@columbia.edu (Jeffrey Altman)
  13. Subject: Re: Filename conversions
  14. Date: 22 Feb 2001 15:21:05 GMT
  15. Organization: Columbia University
  16. Message-ID: <973ap1$o63$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <971gs8$de0$1@samba.rahul.net>,  <dold@email.rahul.net> wrote:
  20. : Woot <mymp3xyz@hotmail.com> wrote:
  21. : : I'm having a great conversation with myself.... :)
  22. : : If I "get" the file from the HP48 (putting the HP48 in server mode) it works
  23. : : fine.
  24. : The "file collision" setting would be on the receiving kermit, and have no
  25. : effect on the sending kermit, correct?
  26.  
  27. That is correct.  The File Collision options only affect the Kermit that
  28. is performing either a RECEIVE or a GET operation.
  29.  
  30. The problem was being experienced in this case is due to a combination
  31. of the File Collision options and the default security provided by the
  32. Kermit SERVER.
  33.  
  34. The default settings for a Kermit SERVER are:
  35.  
  36. Function:          Status:
  37.  GET                Enabled
  38.  SEND               Enabled
  39.  MAIL               Enabled
  40.  PRINT              Enabled
  41.  REMOTE ASSIGN      Enabled
  42.  REMOTE CD/CWD      Enabled
  43.  REMOTE COPY        Enabled
  44.  REMOTE DELETE      Remote only
  45.  REMOTE DIRECTORY   Enabled
  46.  REMOTE HOST        Remote only
  47.  REMOTE QUERY       Enabled
  48.  REMOTE MKDIR       Enabled
  49.  REMOTE RMDIR       Remote only
  50.  REMOTE RENAME      Enabled
  51.  REMOTE SET         Enabled
  52.  REMOTE SPACE       Enabled
  53.  REMOTE TYPE        Enabled
  54.  REMOTE WHO         Enabled
  55.  BYE                Remote only
  56.  FINISH             Enabled
  57.  EXIT               Remote only
  58.  ENABLE             Enabled
  59.  
  60. The "Remote only" does not refer to the REMOTE command but to the mode
  61. that the Kermit process executing the SERVER is operating in.  Kermit
  62. can be executed in two modes: "remote" and "local".  Remote means that
  63. Kermit was started on a remote host and is communicating across the
  64. TTY device back to the client.  An example of this scenario is when
  65. a Telnet client is used to connect to a Unix host and C-Kermit is 
  66. started from the command line for the purpose of transfering files with
  67. the Telnet client.  This is Kermit operating in "remote" mode.  
  68.  
  69. Every other type of connection is Kermit running in "local" mode.  
  70. When Kermit 95 is used to make a telnet connection to a Unix host
  71. it is running in "local" mode.  When C-Kermit is used to accept an
  72. incoming connection with SET HOST * it is running in "local" mode.
  73.  
  74. The Internet Kermit Service runs in "remote" mode.
  75.  
  76. The status of "local" mode can be checked in a script with the
  77. \v(local) variable.  It will be 1 when in local mode, and 0 when 
  78. in remote mode.
  79.  
  80. How does the mode affect the problem experienced by Woot?  Here is the
  81. configuration"
  82.  
  83.  . SET FILE COLLISION OVERWRITE
  84.  
  85.  . SERVER mode
  86.  
  87.  . operating in "local" mode since Kermit established the connection
  88.    to the HP-48
  89.  
  90. Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit
  91. is not using OVERWRITE mode but instead uses RENAME mode.  Why?
  92.  
  93. The SERVER is operating with an ENABLE DELETE REMOTE setting.  This means
  94. that when the SERVER runs in "local" mode that file deletion is not 
  95. permitted.  Overwriting or even backing up a file requires an implicit
  96. deletion of the original contents of the file.  Therefore, it cannot
  97. be permitted.  So when SERVER mode is started the File Collision Overwrite
  98. setting becomes File Collision Rename since that is the closest setting 
  99. that will allow the file transfer to proceed without violating the 
  100. stated server policy.
  101.  
  102.  Jeffrey Altman * Sr.Software Designer      C-Kermit 7.1 Alpha available
  103.  The Kermit Project @ Columbia University   includes Secure Telnet and FTP
  104.  http://www.kermit-project.org/             using Kerberos, SRP, and 
  105.  kermit-support@kermit-project.org          OpenSSL.  SSH soon to follow.